import {request} from 'umi';
import {modulesUrl} from "@/assets/constant/modulesUrl";
import {getApiPrefix} from "@/assets/utils/utils";

/**
 * 根据ids获取列表
 * @param ids ids以逗号隔开
 */
export async function listByIds(ids?: string) {
  return request(getApiPrefix(modulesUrl.sysAnnex) + "/listByIds", {
    params: {
      ids: ids,
    },
  });
}
